<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<c:set var="contextPath" value="${pageContext.request.contextPath}"/>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport"
	content="width=device-width,initial-scale=1,user-scalable=0" />
<link rel="stylesheet"
	href="<c:url value='/static/css/system/bootstrap/bootstrap.min.css'/>" />
</head>
<body>
	<div class="container">
		<div class="panel panel-default">
		  <div class="panel-heading">认购日期和认购收款日期订正</div>
		  <div class="panel-body">
		      	<form action="${contextPath}/repairData/repairSubscribe" enctype="multipart/form-data" name="repairSubscribe" method="post">
					<div class="form-group">
						<label for="exampleInputEmail1">项目</label> 
						<select class="form-control" name="projectId">
						 <c:forEach var="project" items="${projectList}">	
							  <option value="${project.id}">${project.projectName}</option>
						  </c:forEach>
						</select>
					</div>
					<div class="form-group">
						<label for="exampleInputFile">上传修复文件</label> 
						<input type="file" name="multipartFile">
					</div>
					<div class="form-group">
						<label for="exampleInputEmail1">是否执行修复</label> 
						<select class="form-control" name="flag">
						 <option value="0">否</option>
						 <option value="1">是</option>
						</select>
					</div>
					<button type="submit" class="btn btn-default">提交</button>
				</form>
		  </div>
		</div>
		
		
		<div class="panel panel-default">
		  <div class="panel-heading">签约日期和收款日期订正</div>
		  <div class="panel-body">
		      	<form action="${contextPath}/repairData/repairSigned" enctype="multipart/form-data" name="repairSubscribe" method="post">
					<div class="form-group">
						<label for="exampleInputEmail1">项目</label> 
						<select class="form-control" name="projectId">
						  <c:forEach var="project" items="${projectList}">	
							  <option value="${project.id}">${project.projectName}</option>
						  </c:forEach>
						</select>
					</div>
					<div class="form-group">
						<label for="exampleInputFile">上传修复文件</label> 
						<input type="file" name="multipartFile">
					</div>
					
					<div class="form-group">
						<label for="exampleInputEmail1">是否执行修复</label> 
						<select class="form-control" name="flag">
						 <option value="0">否</option>
						 <option value="1">是</option>
						</select>
					</div>
					
					<div class="form-group">
						<label for="exampleInputEmail1">只检查签约日期</label> 
						<select class="form-control" name="checkSignedDateOnly">
						 <option value="0">否</option>
						 <option value="1">是</option>
						</select>
					</div>
					<button type="submit" class="btn btn-default">提交</button>
				</form>
		  </div>
		</div>

	</div>
</body>
</html>